<%--
  Created by IntelliJ IDEA.
  User: Noodles
  Date: 2018/1/11
  Time: 11:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>Title</title>
</head>
<body>

<form action="/s_selectClasses" method="post">


    <a style="font-family: 楷体;font-size: 26px">可选课程：</a>
    <table border="1" cellpadding="10" cellspacing="0" width="25%" style="text-align: center;" align="center">
    <%if (request.getAttribute("selectInfo")!=null){%>
    <%=request.getAttribute("selectInfo")%>
    <%}%>
    <tr>
        <td>

        </td>
        <td>
            课 程 号
        </td>
        <td>
            课 程 名
        </td>
    </tr>


    <c:forEach var="s" items="${requestScope.s_selectClassesShow}">

        <tr>
            <td>
                <input type="hidden" name="username" value="${requestScope.username}">
                <input type="checkbox" name="choices" value="${s.key}">

            </td>

            <td>
                ${s.key}
            </td>

            <td>
                ${s.value}
            </td>
        </tr>

    </c:forEach>


</table>
    <input type="submit" style="margin: 0 auto; display: block;margin-bottom: 10px;margin-top: 10px">
    <input type="reset" style="margin: 0 auto; display: block;margin-bottom: 10px;margin-top: 10px">

</form>
</body>
</html>
